package com.es.www.kyl.bean.req.client;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.Pattern;
import java.io.Serializable;

/**
 * @author Estranger
 * @date 2025/9/1
 * description
 */
@Data
public class UpdateUserReq implements Serializable {
	private static final long serialVersionUID = -1782293762445770398L;

	@ApiModelProperty(value = "昵称")
	private String name;

	@ApiModelProperty(value = "头像")
	private String avatarUrl;

	@ApiModelProperty(value = "手机号")
	@Pattern(regexp = "^1[3-9]\\d{9}$", message = "手机号格式不正确")
	private String userPhone;
}
